package com.neuedu.hw_20190215;

public class Student {
    //成员变量
    private String stuID;
    private String stuName;
    private String strSex;
    private int stuAge;
    private Double stuTotalScore;
    //行为方法


    //自定义构造方法

    public Student(String stuID, String stuName, String strSex, int stuAge) {
        this.stuID = stuID;
        this.stuName = stuName;
        this.strSex = strSex;
        this.stuAge = stuAge;

    }


    //显示默认构造方法

    public Student() {
    }

    //为私有的成员变量提供setter和getter方法

    public String getStuID() {
        return stuID;
    }

    public void setStuID(String stuID) {
        this.stuID = stuID;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStrSex() {
        return strSex;
    }

    public void setStrSex(String strSex) {
        this.strSex = strSex;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public Double getStuTotalScore() {
        return stuTotalScore;
    }

    public void setStuTotalScore(Double stuTotalScore) {
        this.stuTotalScore = stuTotalScore;
    }
}
